export class ModelParam {
  /**
   * Creates an instance of ModelParam.
   * @param {number} paramId 型号参数id
   * @param {number} deviceCategoryId 设备id
   * @param {number} modelId 型号id
   * @param {String} modelParamName 型号参数名称
   * @param {String} modelParamKey 型号参数键
   * @param {String} defaultParamValue 默认值
   * @param {number} paramValue 型号参数值
   * @param {number} paramValueId 型号参数值id
   * @param {String} deviceCategoryName 设备名称
   * @param {number} Capacity 装机容量
   * @param {String} modelName 型号名称
   * @param {String} unit 单位
   * @param {number} seq 排序
   * @param {boolean} [isChecked=false]
   * @memberof ModelParam
   */
  constructor(
    public paramId: number,
    public deviceCategoryId: number,
    public paramValueId: number,
    public modelParamName: string,
    public modelParamKey: string,
    public modelId?: number,
    public defaultParamValue?: number,
    public paramValue?: number,
    public deviceCategoryName?: string,
    public Capacity?: number,
    public modelName?: string,
    public unit?: string,
    public seq?: number,
    public isChecked: boolean = false
  ) {
    Object.defineProperty(this, 'modelId', {enumerable: false});
    Object.defineProperty(this, 'modelName', {enumerable: false});
    Object.defineProperty(this, 'isChecked', {enumerable: false});
    Object.defineProperty(this, 'deviceCategoryName', {enumerable: false});
    Object.defineProperty(this, 'Capacity', {enumerable: false});
  }
}
